package com.ruoyi.contest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.contest.domain.ContestScore;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 竞赛分值Mapper接口
 *
 * @author ruoyi
 * @date 2023-02-23
 */

//@Mapper
public interface ContestScoreMapper extends BaseMapper<ContestScore>
{
    /**
     * 查询竞赛分值列表
     *
     * @param contestScore 竞赛分值
     * @return 竞赛分值集合
     */
    public List<ContestScore> selectContestScoreList(ContestScore contestScore);

    public List<ContestScore> selectByIdX(int contest_score_id);


    ContestScore getById(@Param("contestScoreId") Integer contestScoreId);

    void updateContestScoreRemark(@Param("contestScoreId") Long contestScoreId,@Param("remark") String remark);
}
